package com.htgd.gardenexpo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 积分获抵扣设置
 * </p>
 *
 * @author author
 * @since 2024-06-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ge_con_integral_deduction")
@ApiModel(value="GeConIntegralDeduction对象", description="积分获抵扣设置")
public class GeConIntegralDeduction implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "类目id")
    private Integer categoryId;

    @ApiModelProperty(value = "类目名称")
    private String categoryName;

    @ApiModelProperty(value = "方式（1固定额度，2百分比）")
    private Integer type;

    @ApiModelProperty(value = "抵扣方式")
    private String typeText;

    @ApiModelProperty(value = "最高额度")
    private Integer max;

    @ApiModelProperty(value = "状态（1开启，2关闭）")
    private String status;


}
